<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>底部导航</title>
    <link rel="stylesheet" type="text/css" href="../../css/api1.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style1.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css"/>
    <link rel="stylesheet" type="text/css" href="circle_style.css"/>
</head>
<body>
<div id="wrap" class="flex-wrap flex-vertical">

    <div id="main">
        <header class="aui-bar aui-bar-nav" style="background-color: #ffffff; height: 20pt" id="header">
            <a class="aui-btn aui-pull-left" tapmode onclick="closeWin()">
                <span class="aui-iconfont aui-icon-left" style="color: #000000"></span>
            </a>
            <div class="aui-title" style="background-color: #ffffff;color: #000000;">资源</div>
        </header>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/jquery.js"></script>
<script type="text/javascript" src="../../script/dropload.min.js"></script>
<script type="text/javascript">
    var user_id = 1;//根据user_id得到用户的标签数据。
    var tags = new Array('王者荣耀','滑板');  //假设这是取到的用户1的标签数据
    var tag_num = tags.length + 3;
    apiready = function () {
        var header = api.byId('header');
        var headerPos = api.offset(header);

        Inittags(); // 初始化标签导航栏
        menu_catas = $api.domAll(nav, '.menu-cata');
        TagsView();


        api.openFrame ({
            name: 'view_by_hobby_frm',
            url: 'circle_resource_list_frm.html',
            scrollEnabled: true,
            rect: {
                x: 0,
                y: headerPos.h,
                w: api.winWidth,
                h: 'auto'
            }
        });
    }
</script>
